JS Get timezone of client

Intl.DateTimeFormat().resolvedOptions().timeZone

// example 'America/Chicago'

Credits